using System;

namespace GoogleEarthClasses.Entities
{
    [Serializable]
    public class EImage
    {
        #region Private Members
        Int32 m_ImageId;
        DateTime m_CreatedOn;
        string m_ContentPath;
        
        string m_Name;
        byte[] m_ImageBytes;

        #endregion Private Members

        #region Properties
        public Int32 ImageId
        {
            get { return m_ImageId; }
            set { m_ImageId = value; }
        }
        public DateTime CreatedOn
        {
            get { return m_CreatedOn; }
            set { m_CreatedOn = value; }
        }
        public byte[] ImageBytes 
        {
            get { return m_ImageBytes; }
            set { m_ImageBytes = value; }
        }
        public string ContentPath
        {
            get { return m_ContentPath; }
            set { m_ContentPath = value; }
        }
        public string Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }


        #endregion Properties

        #region Constructors
        public EImage()
        {
            m_ImageId = Int32.MinValue;
        }
        public EImage(Int32 ImageId)
        {
            this.ImageId = ImageId;
        }
        public EImage(string sPath)
        {
            m_ContentPath = sPath;
        }
        public EImage(Int32 imageId, string sPath)
        {
            m_ImageId = imageId;
            m_ContentPath = sPath;
        }
        public EImage(string Name, byte[] ImageBytes)
        {
            m_Name = Name;
            m_ImageBytes = ImageBytes;
        }
        #endregion Constructors
    }
}

